Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSL,XPAth

Status
Not open for further replies.

rogermichel

Programmer
Feb 28, 2003
2
CH
Hi everybody,
i don't now how can i match this type of xml node. Can evereybody help me, please.


XML_File:

<UML:Diagram.element>
<UML:DiagramElement geometry=&quot;Left=161;Top=254;Right=254;Bottom=326;&quot;/>
</UML:Diagram.element>

XSL:

<xsl:template match=&quot;UML:Diagram.element&quot;>
<xsl:apply-templates/>
</xsl:template>

ERROR: I THINK BY THE :

The real xml file is mutch bigger and i want to refer by the Node Name UML:Diagram.element.
Is there a possibility to mask the :, or do you know an other solution?

Thanks for Help

Greets Roger
 
Ok,i found my problem. I had to define the namespace at the beginn of my xsl file. Ok, a beginner fault....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top