Originally posted by Karen Lin:
My question is in the <xsl template match =""> if i want to specify the specific attribute, i have to use the full XPath to represent it, correct?
so it would be "schema-root-node/schema-connection-node@name", correct? since "name" is the attribute of schema-root-node/schema-connection-node
node, please let me know..
Many thanks
if you just specify "schema-connection-node@name" , but again its depends on your xml structure.
BTW does xsl:template really work as it is with the xpath, i guess you have to change the xpath from schema-root-node/schema-connection-node@name
to schema-root-node/schema-connection-node[@name] (i am not sure either)...searching my xslt reference book
