Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
xml:base resoltution in XSLT
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Powell  
View profile  
 More options Jan 20 2008, 12:35 pm
From: David Powell <djpow...@djpowell.net>
Date: Sun, 20 Jan 2008 17:35:23 +0000
Local: Sun, Jan 20 2008 12:35 pm
Subject: xml:base resoltution in XSLT

Hi,

Just a quick status update...

I've just been working on an XSLT issue.  I already had an xml:base
resolver for Atom/RDF implemented in XSLT 1.0, but it didn't quite
work with GRDDL because it expected you to pass in a baseURI parameter
of the source document, which GRDDL won't do.  I've just made some
changes to the XSLT function so that the resolveRef function can
operate in two modes:

If you pass returnRef=false to the function, it behaves as before and
expects an absolute baseURI, and outputs a resolved URI;

However, if you pass returnRef=true, it allows a relative base to be
used, and outputs a relative URI reference.  If run this way it
actually outputs fairly scrappy-looking URI-refs with unmerged dot and
dotdot segments, but that shouldn't matter as the RDF/XML parser that
processes the GRDDL, will automatically resolve those against the
base-URI of the source document to get back to URIs.

I'll post it on the web soon, and update Atom/RDF to call the function
with the apropriate parameters.

--
Dave


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google