on 03-28-2008 6:15 AM
Hi all:
I have read the document(/people/kare.indroy/blog/2008/01/14/sap-netweaver-identity-management-how-to-maintain-xml-files) ,but
cannot get the data when I click the insert template-->data source template menu.
The xml file as follows:
<?xml version="1.0" encoding="GB2312"?>
<users>
<user>
<name>CA_admin</name>
<password>123</password>
<role>caadmin</role>
</user>
<user>
<name>CA_user1</name>
<password>123</password>
<role>caadmin</role>
</user>
</users>
The xsl file as follows:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="users">
<xsl:element name="users">
<xsl:for-each select="user">
<xsl:element name="user">
<xsl:element name="name">
<xsl:value-of select="name"/>
</xsl:element>
<xsl:element name="password">
<xsl:value-of select="password"/>
</xsl:element>
<xsl:element name="role">
<xsl:value-of select="role"/>
</xsl:element>
</xsl:element>
</xsl:for-each>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
Is there some thing wrong within my xsl file? Who can give me some points about this?
Is there some more information about this topic?
thanks in advanced.
Hello Shi,
Could you please provide details about how did you solve this problem?
Thanks,
Anuj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.