Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.xml,microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default XMLSS href attribute

Hi,

First off, I'm not sure which is the right newgroup to post XMLSS
questions to. If anyone has any feedback on that, I'd appreciate it.

Now, my question. I'm looking at exporting data as an Excel spreadsheet,
using the XMLSS format. To dip my toe in the water I created an excel
workbook that contains a sample of how I want the exported data to look,
then saved it as XML to see what kind of output I should be generating.

The resulting XML looks fairly painless, but I'm now wondering what
different formats are available for the ss:HRef attribute. I need my
output to contain cross-worksheet hyperlinks, and the XMLSS that Excel
generates look something like this:

<-----------SNIP----------------
....
....
<Cell ss:StyleID="s20" ss:HRef="#Trajectory_Data_1!A611:D811"
x:HRefScreenTip="Trajectory 3"<Data ss:Type="String"Trajectory
3</Data</Cell
....
....
<-----------SNIP----------------

so it seems that Excel uses a format of
#SheetName!TopLeftCell:BottomRightCell

Can anyone tell me if there are any alternate ways to specify the
hyperlink target. Specifically, I'd prefer not to hardcode cell
locations into my XML, since that would involve manually calculating the
locations (since my output is XML I'm not actually specifying cell
locations for the section of the sheet that I want to link to).

Is there a way of assigning an ID to a table, and then specifying that
table as the target of the hyperlink in the HRef attribute? For example:

<-----------SNIP----------------
....
....
<Worksheet ss:Name="Index"
...
<Table ...
<Row ...
<Cell ss:Href="#Data!trajectory1" ...
...
</Cell
</Row
...
</Table
</Worksheet
....
....
<Worksheet ss:Name="Data"
...
<Table ss:ID="trajectory1" ...
...
</Table
...
</Worksheet
....
....
<-----------SNIP----------------

I hope that gives an idea of what I'm thinking of. Am I making any sense
at all? ;)

TIA,

Pete Hodgson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink HREF question w/ vlookup [email protected] Excel Worksheet Functions 5 October 28th 09 06:59 PM
XMLSS and Worksheet Name Owen J. Excel Programming 0 February 17th 05 05:39 PM
convert XMLSS to PDF Ying[_2_] Excel Programming 0 May 11th 04 09:46 PM
convert XMLSS to PDF Ying[_2_] Excel Programming 0 May 11th 04 09:46 PM
HTML HREF Opening in Browser JanetFan95758 Excel Programming 0 April 26th 04 04:31 AM


All times are GMT +1. The time now is 03:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"