|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
Can you embed XSLT stylesheets on a page that contains XML data??? If so... how? an example would be appreciated! Thanks, Chris |
|
#2
|
|||
|
|||
|
You can link your XML document to an XSLT style sheet using the <?xml-stylesheet> directive:
<?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="http://yourserver/stylesheet.xsl"?> |
|
#3
|
|||
|
|||
|
i don't want to link
i want to embed!! can you do that? thanks again |
|
#4
|
|||
|
|||
|
No, this defeats the purpose of XML, which is to separate the content from the formatting. What exactly are you trying to do? Give us more details and maybe we can give more suggestions.
|
|
#5
|
|||
|
|||
|
I thought linking xslt was the only option. Thanks! :-)
I just needed to know for teaching purposes. Thanks again |
|
#6
|
|||
|
|||
|
i got this from... URL
Anyone know how to get this working with IE??? -mike PHP Code:
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > embedded XSLT???? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|