Salve a tutti, premetto che sono alle primissime armi con l'xml e l'xsl. Ho questo problema, un file finale che deve essere come quello riportato di seguito, ma non riesco a compilare l'xsl giusto .
Ho realizzato l'xml che mi prende i dati da un db e da asp me li trasforma in xml ma il passaggio successivo cioe' proprio l'uso del xsl non mi riesce. Qualcuno sa indirizzarmi ad un sito con tutorial che facciano al mio caso oppure darmi qualche dritta?
Grazie
codice:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl"
HREF="/xsl/newstext.xsl"?>
<nitf>
<head>
<title>
</title>
<docdata>
<doc-id
id-string ="" />
<date.issue norm
="" />
<!-- Date of release (not present in the news
format) -->
<date.release norm ="" />
</docdata>
</head>
<body>
<body.head>
<hedline>
<hl1>
</hl1>
</hedline>
<byline>
<!--
Subtitle (if present) -->
</byline>
<distributor>
<org>
<!--
Agency -->
</org>
</distributor>
<dateline>
<location>
<!-- Significant location (not
present in the news format) -->
</location>
</dateline>
</body.head>
<body.content>
<!-- Language (not
present in the news format) -->
<lang lang ="it" />
<block>
</p>
</block>
</body.content>
</body>
</nitf>