XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 19th, 2004, 10:21 AM
Teflon's Avatar
Teflon Teflon is offline
Teflon The Black
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Woodbridge VA
Posts: 246 Teflon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 28 m 14 sec
Reputation Power: 5
Send a message via AIM to Teflon
XML transforms with Sablotron but not Browser

Curious question.
I have an xml document that references an xsl document which in turn references a single .css file and several other xsl templates to be used.

Now I can run sablotron with php and it transforms it but when I try to pull the xml up as .xml it wont load.

I am using import to bring in the other .xsl's and a <link rel> to bring in the css.

Any ideas of why this is happening and why the two methods are not achieving the same outcome as they should, correct?
Assuming that they are both up to standards.


-Teflon
ps. sorry CANT post the code atm
__________________
Teflon - The Black <desc>Mark This Up</desc>

Reply With Quote
  #2  
Old July 19th, 2004, 10:53 AM
Teflon's Avatar
Teflon Teflon is offline
Teflon The Black
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Woodbridge VA
Posts: 246 Teflon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 28 m 14 sec
Reputation Power: 5
Send a message via AIM to Teflon
Hey whatya know, I can solve my own problems.

The problem is this, the php(sablotron) transformation requires that the .xsl files that are imported be referenced from where the .php file is run where as the .xml requires them to be referenced in relation to the importing .xsl

folder structure:
wwwroot
-folder1
--file0.php
--folder2
---file.xsl
---file2.xsl
---file3.css
--folder3
---file4.xml

so I guess I am going to need two base .xsl files ? eh

-Teflon

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > XML transforms with Sablotron but not Browser


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT