Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

XSLT Processing shows just all the nodes (striped)

1:12 pm on Jul 9, 2010 (gmt 0)

New User

5+ Year Member

joined:July 9, 2010
posts: 1
votes: 0

I have a massive XML coming from an export of the Identity Management Console (9.5 MB). The XML is Valid but contains text of all sorts (Arabic and other language written from right to left).

The TASKs are correctly described and I can therefore use these information to create a graph of dependencies by generating a dot-file and then send it to GraphViz.

Here is the beginning of my XML.
<?xml version="1.0" encoding="UTF-8"?>
<IDM Exported_on="2010-07-08 12:12:43.517" ImXport_Version="v.7.10.0-710_COR-BUILD-23.10.2008_17:03:45" MC_Version=" " ObjectType="EXPORT_IDENTITY_STORE" Schema_Version="543">

In that file, I have TASKS node containing TASKs (I hope this is clear).
I wrote a small XSLT :
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:output method="text" indent="no" encoding="utf-8"/>
<xsl:template match="/IMD/IDENTITY_STORE_TOP/TASKS">
<xsl:text disable-output-escaping="yes">
digraph project {
node [shape=box,fontname="Arial",fontsize="10"];
edge [fontname="Arial",fontsize="8"];
<xsl:apply-templates select="*" />

<xsl:template match="TASK">


My problem is that I can view the "content" of all the nodes :
<?xml version="1.0" encoding="UTF-8"?>

Field with single line

Field with multiple line

while I am expecting to see as many "TEST" being written as there are TASKs
Last relevant info. I use a small ANT build-file to execute the XSL-Transform.

Any idea why I see the "Field with single line" instead of other things ?